<?php

class Ask implements IAction
{
  
  public function Execute($params)
  {
    //TODO: Von Auth-Modul fragenden User bestimmen
    //$asker = 
    $askee = $params['askee'];
    $kDomain = $params['kDomain'];
    $title = $params['title'];
    $text = $params['text'];
    
    $askedAt = User.GetUserById($askee);
    $askedAt.AskQuestion($kDomain, $title, $text, $asker);
  }
  
}

?>